//
//  AddressSelector.h
//  NZTaxi
//
//  Created by Allan Vergara on 4/10/10.
//  Copyright 2010 List-it. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Address.h"

static NSString * const C_SELECTED_CITY = @"SELECTED_CITY";
static NSString * const C_CITY_SEARCH_STRING = @"CITY_SEARCH_STRING";

@interface CitySelector : UITableViewController <UISearchDisplayDelegate, UISearchBarDelegate> {
	NSArray *filteredCities;
	UISearchDisplayController *searchDisplayController;
	BOOL isHomeAddress;
}

//@property (nonatomic, retain) IBOutlet UISearchBar *searchBar;
@property (nonatomic, retain) UISearchDisplayController *searchDisplayController;
@property (nonatomic, retain) NSArray *filteredCities;
@property (nonatomic, assign) BOOL isHomeAddress;

-(NSArray *)GetCities:(NSString *)beginsWith;

@end

